<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>声明式渲染</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
    	{{ message }}
    </div>
    <div id="app-2">
        <span v-bind:title="message">
            鼠标悬停几秒查看此处动态绑定的提示信息
        </span>
    </div>
    <script>
    	var app = new Vue({
    		el:'#app',
    		data:{
    			message:'test'
    		}
    	})

        var app2 = new Vue({
            el:'#app-2',
            data:{
                message : '页面加载于' + new Date().toLocaleString()
            }
        })
    </script>
</body>
</html>